package practices;

import java.util.Scanner;

public class Main {

    public static void main(String[] args) {
	// write your code here
        System.out.println("Hello world!\n");
        Scanner cin = new Scanner(System.in);
        int a = cin.nextInt();
        System.out.println(a);
        cin.nextLine();
        String s = cin.nextLine();
        String[] t = s.trim().split("\\s+");
        for (String i : t)
            System.out.println(i);
    }
}
